// 对背景图片进行缓存
document.execCommand("BackgroundImageCache", false, true);

// 共用的头部标签, 利用字符串输出每个页面头部共用的标签(注意父子级关系)
var header = "<div class=\"header\">"+
				"<a href=\"index.html\"><img src=\"img/logo.jpg\"/></a>"+
				"<div class=\"header_main\">"+
					"<div class=\"header_top\">"+
						"<span>中国</span>"+
						"<div class=\"header_top_right\">"+
							"<select name=\"language\">"+
								"<option value=\"\">Select Language</option>"+
								"<option value=\"English\">English</option>"+
								"<option value=\"Chinese\">Chinese</option>"+
							"</select>"+
							"<a href=\"#\">进入全球官网</a>"+
						"</div>"+
					"</div>"+
					"<div class=\"header_bottom\">"+
						"<ul>"+
							"<li><a href=\"news.html\">新闻动态</a></li>"+
							"<li><a href=\"#\">美食与营养</a></li>"+
							"<li><a href=\"development.html\">加盟流程</a></li>"+
							"<li><a href=\"about.html\">关于我们</a></li>"+
							"<li><a href=\"#\">快餐店位置查询</a></li>"+
						"</ul>"+
					"</div>"+
				"</div>"+
			"</div>"
			

var footer=	"<div class=\"footer\">"+
				"<div class=\"footer_top\">"+
					"<a href=\"#\" class=\"img1\"></a>"+
					"<a href=\"#\" class=\"img2\"></a>"+
					"<a href=\"#\" class=\"img3\"></a>"+
					"<a href=\"#\" class=\"img4\"></a>"+
					"<a href=\"#\" class=\"img5\"></a>"+
					"<img src=\"img/code.png\" class=\"code\"/>"+
				"</div>"+
				"<div class=\"footer_bottom\">"+
					"<ul>"+
						"<li><a href=\"#\">主页</a></li>"+
						"<li><a href=\"#\">菜单/营养</a></li>"+
						"<li><a href=\"#\">如何加盟</a></li>"+
						"<li><a href=\"#\">关于我们</a></li>"+
						"<li><a href=\"#\">快餐店位置查询</a></li>"+
					"</ul>"+
					"<ul>"+
						"<li><a href=\"#\">联系我们</a></li>"+
						"<li><a href=\"#\">使用条款</a></li>"+
						"<li><a href=\"#\">隐私权政策</a></li>"+
						"<li><a href=\"#\">SUBWAY Partners</a></li>"+
					"</ul>"+
					"<p>SUBWAY® is a Registered Trademark of Subway IP Inc.®2016 Subway IP Inc.</p>"+
				"</div>"+
			"</div>"
